if (AMSettings.useLocalStorage && !Ext.supports.LocalStorage) {
    alert('Simple Tasks is configured to use HTML5 Local Storage, but your browser does not support Local Storage');
} else {
    Ext.Loader.setPath('Ext.ux', '../ux/')
    Ext.Loader.setConfig({
                enabled : true
            });
    Ext.application({
                name : 'AM',
                autoCreateViewport : true,
                controllers : ['Tasks', 'UserCreate', 'UserList', 'GroupList'],
                launch : function() {
                    Ext.optionsToolbarAlign = 'br-br';
                }
            });
}
